package ae.pcfc.cldos.online.net.service;

/**
 * 
 * @author arosa
 *
 */
public interface BuisnessValidationsService {

	public String isLicenceValid(String companyLicenseNo);
	public boolean isLeaseValid(String companyLicNo);
	public boolean isEmployeeExist(String passportName, String passportNo);
	public boolean isVisitorExist(String passportName, String passportNo);
	public boolean isEmployeeBaned(String passportName, String passportNo);
	public Integer getAviableEmployeesCount(String coLicNo);
	public boolean validateOnlineEmpVisaData(String companyLicenseNo, String passportNameEn, String passportNo) throws Exception;
	/**
	 * @param companyLicenseNo
	 * @return
	 * @throws Exception
	 */
	public boolean validateOnlineVisitVisaData(String companyLicenseNo) throws Exception;
	
	/**
	 * @param companyLicenseNo
	 * @param empId
	 * @return
	 * @throws Exception
	 */
	public boolean validateOnlineEmpVisaRenewalData(String companyLicenseNo, String empId) throws Exception;
	
	/**
	 * @param companyLicenseNo
	 * @return
	 * @throws Exception
	 */
	public boolean validateOnlineEmpVisaTerminationData(String companyLicenseNo) throws Exception;
	/**
	 * @param companyLicenseNo
	 * @return
	 * @throws Exception
	 */
	public boolean validateOnlineNOCLettersData(String companyLicenseNo) throws Exception;
}
